package com.woniu.orderservice.client;

import com.woniu.orderservice.entity.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Auther: 李浪  <br/>
 * @Date: 2020/3/25:11:15  <br/>
 * @Description:和商品的通信
 */
@FeignClient("goodsservice")
public interface GoodsServiceClient {

    @GetMapping("/goods/selectOne")
    public Goods selectOne(Integer id);

}
